package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    public void add(Member member) throws Exception;

    public Member findByTelephone(String telephone);

    public List<Integer> findMemberCountByMonth(List<String> month);


    List<Map<String, Object>> findAgeDistribution();

    public List<Member> getBusinessReport(Integer[] ids);

    public void deleteById(Integer id);

    public void edit(Member member);

    public Member findById(Integer id);

    public PageResult pageQuery(QueryPageBean queryPageBean) throws Exception;

}
